import request from '@/utils/request'
export function getData(data) {
  return request({
    url: '/sys-user/users/session/page',
    method: 'get',
    params: data,
  })
}
export function exit(userName) {
  return request({
    url: '/sys-auth/oauth/exit',
    method: 'delete',
    params: { userName },
  })
}
export function postMsg(data) {
  return request({
    method: 'POST',
    url: '/sys-msg/sendMsg',
    data
  })
}